package network.config;

import network.config.NetworkConfiguration.Protocol;


public class UnsupportedProtocol extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Protocol protocol ;
	
	public UnsupportedProtocol(Protocol protocol) {
		this.protocol = protocol ;
	}

	public UnsupportedProtocol(String arg0, Protocol protocol) {
		super(arg0);
		this.protocol = protocol ;
	}

	public UnsupportedProtocol(Throwable arg0, Protocol protocol) {
		super(arg0);
		this.protocol = protocol ;
	}
	
	public Protocol getProtocol () {
		return this.protocol ;
	}

}
